<?php
require_once __DIR__ . '/../bootstarp/app.php';
require_once __DIR__ . '/../core/route.php';

$response = $router->dispatch($request);

// send the response to the browser
(new Laminas\HttpHandlerRunner\Emitter\SapiEmitter)->emit($response);